package io.gitee.hechenl.fastiotreport.controller;

import io.gitee.hechenl.fastiotreport.controller.converter.ProductConverter;
import io.gitee.hechenl.fastiotreport.domain.dto.ProductWrapListDTO;
import io.gitee.hechenl.fastiotreport.domain.vo.ProductWrapListVO;
import io.gitee.hechenl.fastiotreport.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/product")
@RestController
public class ProductController {


    @GetMapping("/wrap/list")
    public Result<ProductWrapListVO> productWrapList(ProductWrapListDTO dto) {
        return Result.success(ProductConverter.toProductWrapListVO());
    }

}
